package com.pzh.guli.service.edu.feign;

import com.pzh.guli.service.base.dto.MemberDto;
import com.pzh.guli.service.base.result.Result;
import com.pzh.guli.service.edu.feign.fallback.UserMemberServiceFallback;
import org.springframework.beans.BeanUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@Service
@FeignClient(value = "server-user",fallback = UserMemberServiceFallback.class)
public interface UserMemberService {
    @GetMapping("/api/member/inner/get-member-dto/{memberId}")
    MemberDto getMemberDto(@PathVariable("memberId") String memberId);
}
